package com.ruoyi.house_sale.service;

import java.util.List;
import com.ruoyi.house_sale.domain.PaidSort;

/**
 * 收付款类别Service接口
 * 
 * @author ruoyi
 * @date 2022-03-30
 */
public interface IPaidSortService 
{
    /**
     * 查询收付款类别
     * 
     * @param paidsortid 收付款类别主键
     * @return 收付款类别
     */
    public PaidSort selectPaidSortByPaidsortid(Long paidsortid);

    /**
     * 查询收付款类别列表
     * 
     * @param paidSort 收付款类别
     * @return 收付款类别集合
     */
    public List<PaidSort> selectPaidSortList(PaidSort paidSort);

    /**
     * 新增收付款类别
     * 
     * @param paidSort 收付款类别
     * @return 结果
     */
    public int insertPaidSort(PaidSort paidSort);

    /**
     * 修改收付款类别
     * 
     * @param paidSort 收付款类别
     * @return 结果
     */
    public int updatePaidSort(PaidSort paidSort);

    /**
     * 批量删除收付款类别
     * 
     * @param paidsortids 需要删除的收付款类别主键集合
     * @return 结果
     */
    public int deletePaidSortByPaidsortids(Long[] paidsortids);

    /**
     * 删除收付款类别信息
     * 
     * @param paidsortid 收付款类别主键
     * @return 结果
     */
    public int deletePaidSortByPaidsortid(Long paidsortid);
}
